<!DOCTYPE html>
<html lang="zh-cn">

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>${orgName}</title>

  <!-- Bootstrap Core CSS -->
<!-- MetisMenu CSS -->
<!-- Custom CSS -->
<!-- Custom Fonts -->
  <!-- Morris Charts CSS -->
  <!-- Timeline CSS -->
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->


    <link rel="stylesheet" href="/server/r/bower_components/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/server/r/bower_components/metisMenu/dist/metisMenu.min.css" />
    <link rel="stylesheet" href="/server/r/static/css/sb-admin-2_e507c2b.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/font-awesome/css/font-awesome.min.css" />
    <link type="text/css" rel="stylesheet" href="/server/r/static/css/hxz/common_2baa698.css" />
    <link rel="stylesheet" href="/server/r/bower_components/morrisjs/morris.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/alertify/themes/alertify.core.css" />
    <link rel="stylesheet" type="text/css" href="/server/r/bower_components/alertify/themes/alertify.bootstrap.css" />
    <link rel="stylesheet" href="/server/r/static/css/timeline_1c13c9f.css" />
</head>

<body>

<div id="wrapper">
<input type="hidden" id="auth" value="${authInfo}">
  <!-- Navigation -->
  <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">

    <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="index">${orgName}</a>
</div>
<!-- /.navbar-header -->

<ul class="nav navbar-top-links navbar-right">

    <!-- /.dropdown -->
    <li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
            ${userName} <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
        </a>
        <ul class="dropdown-menu dropdown-user">
            <li><a href="/server/logout"><i class="fa fa-sign-out fa-fw"></i> 退出系统</a>
            </li>
        </ul>
        <!-- /.dropdown-user -->
    </li>
    <!-- /.dropdown -->
</ul>
<!-- /.navbar-top-links -->

    <div class="navbar-default sidebar" role="navigation">
      <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">
    <li>
        <a href="/server/index"><i class="fa fa-dashboard fa-fw"></i> 首页</a>
    </li>
    <#if authMenu("/verify/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="/server/verify">
                <i class="fa fa-check fa-fw"></i> 核销
            </a>
            <!-- /.nav-second-level -->
        </li>
    </#if>
    <#if authMenu("/activity/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-asterisk fa-fw"></i> 产品管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/activity-add"> 创建产品</a>
                </li>
                <li>
                    <a href="/server/activity-list"> 我的产品</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/player/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY0?exists||Session.ACTIVITY1?exists>
            <li>
                <a href="#"><i class="fa fa-male fa-fw"></i> 报名管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/player-list">报名查询</a>
                    </li>
                    <li>
                        <a href="/server/verifyRecord/list">核销记录</a>
                    </li>
                </ul>
            </li>
        </#if>
    </#if>

    <#if authMenu("/order/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-list-alt fa-fw"></i> 订单管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/order-list">订单查询</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>

        <#if authMenu("/ticket/*", Session.USER_PERMISSION?string)>
            <#if Session.ACTIVITY3?exists || Session.ACTIVITY6?exists>
                <li>
                    <a href="#"><i class="fa fa-ticket fa-fw"></i> 雪票管理<span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a href="/server/ticket-list">数据统计</a>
                        </li>
                        <li>
                            <a href="/server/verify?type=6">雪票核销</a>
                        </li>
                        <li>
                            <a href="/server/ticket-verify-list">核销记录</a>
                        </li>
                    </ul>
                    <!-- /.nav-second-level -->
                </li>
            </#if>
        </#if>
    </#if>

    <#if authMenu("/hotel/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY7?exists>
            <li>
                <a href="#"><i class="fa fa-building fa-fw"></i> 酒店预订管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/hotel-order-list">酒店预订管理</a>
                    </li>
                    <li>
                        <a href="/server/hotel-verify-list">核销记录</a>
                    </li>
                </ul>
            </li>
        </#if>
    </#if>

    <#if authMenu("/coach/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY2?exists>
            <li>
                <a href="#"><i class="fa fa-users fa-fw"></i> 教练管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/coach-list"> 预约查询</a>
                    </li>
                    <li>
                        <a href="/server/verify?type=2">教学签到</a>
                    </li>
                    <li>
                        <a href="/server/coach-verify-list">核销记录</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
        </#if>
    </#if>

    <#if authMenu("/camp/*", Session.USER_PERMISSION?string)>
        <#if Session.ACTIVITY5?exists>
            <li>
                <a href="#"><i class="fa fa-trophy fa-fw"></i> 冬令营管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/server/camp-player-list"> 报名查询</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
        </#if>
    </#if>

    <#if authMenu("/finance/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-rmb fa-fw"></i> 财务管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/stream-list"> 交易流水</a>
                </li>
                <li>
                    <a href="/server/withdrawals-list">提现管理</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/customer/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-user-md fa-fw"></i> 会员管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/customer-list">会员查询</a>
                </li>
            </ul>
        </li>
    </#if>

    <#if authMenu("/comment/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-comments fa-fw"></i> 评价管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/comment-list">评价管理</a>
                </li>
            </ul>
        </li>
    </#if>

    <#if authMenu("/statistics/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-bar-chart fa-fw"></i> 统计<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/statistics/product/list">产品统计</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/marketing/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-key fa-fw"></i> 营销管理<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/marketing-list">营销活动</a>
                </li>
                <li>
                    <a href="/server/marketing-present-list">礼品列表</a>
                </li>
                <li>
                    <a href="/server/marketing-user-list">用户信息统计</a>
                </li>

            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

    <#if authMenu("/user/*", Session.USER_PERMISSION?string)>
        <li>
            <a href="#"><i class="fa fa-gear fa-fw"></i> 设置<span class="fa arrow"></span></a>
            <ul class="nav nav-second-level">
                <li>
                    <a href="/server/authority/user-list">用户&权限</a>
                </li>

                <li>
                    <a href="/server/user-profile">主办方信息</a>
                </li>
            </ul>
            <!-- /.nav-second-level -->
        </li>
    </#if>

</ul>
      </div>
      <!-- /.sidebar-collapse -->
    </div>
    <!-- /.navbar-static-side -->
  </nav>

  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1 class="page-header">概览</h1>
      </div>
      <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-3 col-md-6">
        <div class="panel panel-primary">
          <div class="panel-heading">
            <div class="row">
              <div class="col-xs-3">
                <i class="fa fa-asterisk fa-5x"></i>
              </div>
              <div class="col-xs-9 text-right">
                <div class="huge">${(indexCount.activityCount)!'0'}</div>
                <div>产品总数</div>
              </div>
            </div>
          </div>
          <a href="#">
            <div class="panel-footer">
              <a href="/server/activity-list">
                <span class="pull-left">产品管理</span>
                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
              </a>

              <div class="clearfix"></div>
            </div>
          </a>
        </div>
      </div>
      <div class="col-lg-3 col-md-6">
        <div class="panel panel-green">
          <div class="panel-heading">
            <div class="row">
              <div class="col-xs-3">
                <i class="fa fa-rmb fa-5x"></i>
              </div>
              <div class="col-xs-9 text-right">
                <div class="huge">${orgAccount!'0'}元</div>
                <div>账户余额</div>
              </div>
            </div>
          </div>
          <a href="#">
            <div class="panel-footer">
              <a href="/server/order-list">
                <span class="pull-left">订单管理</span>
                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
              </a>

              <div class="clearfix"></div>
            </div>
          </a>
        </div>
      </div>
      <div class="col-lg-3 col-md-6">
        <div class="panel panel-yellow">
          <div class="panel-heading">
            <div class="row">
              <div class="col-xs-3">
                <i class="fa fa-weixin fa-5x"></i>
              </div>
              <div class="col-xs-9 text-right">
                <div class="huge">${(indexCount.playerCount)!'0'}</div>
                <div>累计参加人数</div>
              </div>
            </div>
          </div>
          <a href="#">
            <div class="panel-footer">
              <a href="/server/player-list">
                <span class="pull-left">报名管理</span>
                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
              </a>

              <div class="clearfix"></div>
            </div>
          </a>
        </div>
      </div>
      <div class="col-lg-3 col-md-6">
        <div class="panel panel-red">
          <div class="panel-heading">
            <div class="row">
              <div class="col-xs-3">
                <i class="fa fa-line-chart fa-5x"></i>
              </div>
              <div class="col-xs-9 text-right">
                <div class="huge">${(indexCount.concernCount)!'0'}</div>
                <div>关注人数</div>
              </div>
            </div>
          </div>
          <a href="#">
            <div class="panel-footer">
              <span class="pull-left"></span>
              <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>

              <div class="clearfix"></div>
            </div>
          </a>
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row" style="display: none;">
      <div class="col-lg-8">
        <!-- /.panel -->
        <div class="panel panel-default">
          <div class="panel-heading">
            <i class="fa fa-clock-o fa-fw"></i> 我的时间线
          </div>
          <!-- /.panel-heading -->
          <div class="panel-body">
            <ul class="timeline">
              <li>
                <div class="timeline-badge"><i class="fa fa-check"></i>
                </div>
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>

                    <p>
                      <small class="text-muted"><i class="fa fa-clock-o"></i> 11 hours ago via Twitter</small>
                    </p>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero laboriosam dolor perspiciatis
                      omnis exercitationem. Beatae, officia pariatur? Est cum veniam excepturi. Maiores praesentium,
                      porro voluptas suscipit facere rem dicta, debitis.</p>
                  </div>
                </div>
              </li>
              <li class="timeline-inverted">
                <div class="timeline-badge warning"><i class="fa fa-credit-card"></i>
                </div>
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem dolorem quibusdam, tenetur
                      commodi provident cumque magni voluptatem libero, quis rerum. Fugiat esse debitis optio, tempore.
                      Animi officiis alias, officia repellendus.</p>

                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium maiores odit qui est tempora
                      eos, nostrum provident explicabo dignissimos debitis vel! Adipisci eius voluptates, ad aut
                      recusandae minus eaque facere.</p>
                  </div>
                </div>
              </li>
              <li>
                <div class="timeline-badge danger"><i class="fa fa-bomb"></i>
                </div>
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus numquam facilis enim eaque,
                      tenetur nam id qui vel velit similique nihil iure molestias aliquam, voluptatem totam quaerat,
                      magni commodi quisquam.</p>
                  </div>
                </div>
              </li>
              <li class="timeline-inverted">
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates est quaerat asperiores
                      sapiente, eligendi, nihil. Itaque quos, alias sapiente rerum quas odit! Aperiam officiis quidem
                      delectus libero, omnis ut debitis!</p>
                  </div>
                </div>
              </li>
              <li>
                <div class="timeline-badge info"><i class="fa fa-save"></i>
                </div>
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis minus modi quam ipsum alias at
                      est molestiae excepturi delectus nesciunt, quibusdam debitis amet, beatae consequuntur impedit
                      nulla qui! Laborum, atque.</p>
                    <hr>
                    <div class="btn-group">
                      <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-gear"></i> <span class="caret"></span>
                      </button>
                      <ul class="dropdown-menu" role="menu">
                        <li><a href="#">Action</a>
                        </li>
                        <li><a href="#">Another action</a>
                        </li>
                        <li><a href="#">Something else here</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="#">Separated link</a>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi fuga odio quibusdam. Iure
                      expedita, incidunt unde quis nam! Quod, quisquam. Officia quam qui adipisci quas consequuntur
                      nostrum sequi. Consequuntur, commodi.</p>
                  </div>
                </div>
              </li>
              <li class="timeline-inverted">
                <div class="timeline-badge success"><i class="fa fa-graduation-cap"></i>
                </div>
                <div class="timeline-panel">
                  <div class="timeline-heading">
                    <h4 class="timeline-title">Lorem ipsum dolor</h4>
                  </div>
                  <div class="timeline-body">
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt obcaecati, quaerat tempore
                      officia voluptas debitis consectetur culpa amet, accusamus dolorum fugiat, animi dicta aperiam,
                      enim incidunt quisquam maxime neque eaque.</p>
                  </div>
                </div>
              </li>
            </ul>
          </div>
          <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
      </div>
      <!-- /.col-lg-8 -->
      <div class="col-lg-4">
        <div class="panel panel-default">
          <div class="panel-heading">
            <i class="fa fa-bell fa-fw"></i>最新订单
          </div>
          <!-- /.panel-heading -->
          <div class="panel-body">
            <div class="list-group">
              <a href="#" class="list-group-item">
                <i class="fa fa-comment fa-fw"></i> New Comment
                                    <span class="pull-right text-muted small"><em>4 minutes ago</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                    <span class="pull-right text-muted small"><em>12 minutes ago</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-envelope fa-fw"></i> Message Sent
                                    <span class="pull-right text-muted small"><em>27 minutes ago</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-tasks fa-fw"></i> New Task
                                    <span class="pull-right text-muted small"><em>43 minutes ago</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                    <span class="pull-right text-muted small"><em>11:32 AM</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-bolt fa-fw"></i> Server Crashed!
                                    <span class="pull-right text-muted small"><em>11:13 AM</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-warning fa-fw"></i> Server Not Responding
                                    <span class="pull-right text-muted small"><em>10:57 AM</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-shopping-cart fa-fw"></i> New Order Placed
                                    <span class="pull-right text-muted small"><em>9:49 AM</em>
                                    </span>
              </a>
              <a href="#" class="list-group-item">
                <i class="fa fa-money fa-fw"></i> Payment Received
                                    <span class="pull-right text-muted small"><em>Yesterday</em>
                                    </span>
              </a>
            </div>
            <!-- /.list-group -->
            <a href="#" class="btn btn-default btn-block">View All Alerts</a>
          </div>
          <!-- /.panel-body -->
        </div>

        <!-- /.panel .chat-panel -->
      </div>
      <!-- /.col-lg-4 -->
    </div>
    <!-- /.row -->
  </div>
  <!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<div id="hxz-background" class="background" style="display: none; "></div>
<div id="hxz-progressBar" class="progressBar" style="display: none; ">数据加载中，请稍等...</div>

<script src="/server/r/require.js"></script>
<script type="text/javascript">/*resourcemap*/
require.config({paths:{
  "r/bower_components/jquery/dist/jquery.min": "/server/r/bower_components/jquery/dist/jquery.min",
  "r/bower_components/underscore/underscore-min": "/server/r/bower_components/underscore/underscore-min",
  "r/static/js/hxz/hxz.valid": "/server/r/static/js/hxz/hxz.valid_12cc206",
  "r/static/js/hxz/hxz.rest": "/server/r/static/js/hxz/hxz.rest_07c8105",
  "r/bower_components/alertify/alertify.min": "/server/r/bower_components/alertify/alertify.min",
  "r/static/js/alertify-config": "/server/r/static/js/alertify-config_0cc8db2",
  "r/bower_components/bootstrap/dist/js/bootstrap.min": "/server/r/bower_components/bootstrap/dist/js/bootstrap.min",
  "r/bower_components/metisMenu/dist/metisMenu.min": "/server/r/bower_components/metisMenu/dist/metisMenu.min",
  "r/bower_components/select2/dist/js/select2": "/server/r/bower_components/select2/dist/js/select2",
  "r/static/js/hxz/hxz.ui": "/server/r/static/js/hxz/hxz.ui_0a7714d",
  "r/static/js/hxz/hxz": "/server/r/static/js/hxz/hxz_589b155",
  "r/bower_components/morrisjs/morris.min": "/server/r/bower_components/morrisjs/morris.min"
}});</script>
<script type="text/javascript" src="/server/r/static/js/app/admin-index_8e7abb8.js"></script>
</body>
</html>
